home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 19
/
CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso
/
CUCD
/
Online
/
Apache
/
cgi-bin
/
calendar
< prev
next >
Wrap
Text File
|
1997-01-22
|
409b
|
29 lines
#!/bin/sh
CAL=/bin/cal
echo Content-type: text/html
echo
if [ -x $CAL ]; then
if [ $# = 0 ]; then
cat << EOM
<TITLE>Calendar</TITLE>
<H1>Calendar</H1>
<ISINDEX>
To look up a calendar month, type the month followed by a space then the year.<P>
Example: <code>3 1993</code> would give the calendar for March 1993.
EOM
else
echo \<PRE\>
$CAL $*
fi
else
echo Cannot find cal on this system.
fi